package com.fsl.springbootdesignpattern.b_factory.abstract_factory;

import com.fsl.springbootdesignpattern.b_factory.simple_factory.Car;

public class AbstractFactoryTest {

    public static void main(String[] args) {
        DefaultFactory defaultFactory = new DefaultFactory();
        Car car = defaultFactory.getCar("Benz");
        System.out.println(car.getName());
    }
}
